
package com.epam.android.training.level1.db.rss;

import android.provider.BaseColumns;

/**
 * @author Anton Novikau
 */
public final class Rss {

  public static final String AUTHORITY = "com.epam.android.training.level1.db.rss.Rss";

  /**
   * Creates an instance of Rss.
   */
  public Rss() {}

  public static final class Feed implements BaseColumns {

    public static final String TABLE_NAME = "feed";

    /**
     * The default sort order for this table
     */
    public static final String DEFAULT_SORT_ORDER = "title ASC";

    public static final String TITLE = "title";

    public static final String FEED_URL = "feed_url";

    public static final String LINK = "link";

    public static final String ICON = "icon";
  }

  public static final class Item implements BaseColumns {

    public static final String TABLE_NAME = "item";

    /**
     * The default sort order for this table
     */
    public static final String DEFAULT_SORT_ORDER = "pub_date DESC";

    public static final String FEED_ID = "feed_id";

    public static final String TITLE = "title";

    public static final String LINK = "link";

    public static final String DESC = "description";

    public static final String PUB_DATE = "pub_date";

    public static final String IS_READ = "is_read";
  }

  public static final class Category implements BaseColumns {

    public static final String TABLE_NAME = "category";

    /**
     * The default sort order for this table
     */
    public static final String DEFAULT_SORT_ORDER = "name ASC";

    public static final String FEED_ID = "feed_id";

    public static final String NAME = "name";
  }
}
